import service from '@/utils/request'
// import qs from 'qs'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    // 物资供应招标_列表 1
    applyListByEntity (params) {
        return httpPost({
            url: '/tender/materialProvisioning/apply/listByEntity',
            params
        })
    },
    // 招标申请_根据id查询基础信息 1
    applyGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/apply/getById',
            params
        })
    },
    // 获取单据相关按钮状态 1
    getButtonState (params) {
        return httpGet({
            url: '/tender/materialProvisioning/getButtonState',
            params
        })
    },
    // 发布 1
    release (params) {
        return httpGet({
            url: '/tender/materialProvisioning/release',
            params
        })
    },
    // 招标申请_新增基础信息 1
    applyCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/apply/create',
            params
        })
    },
    // 招标申请_修改基础信息 1
    applyUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/apply/update',
            params
        })
    },
    // 招标申请_根据主键删除 1
    applyDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/apply/delete',
            params
        })
    },
    // 招标申请_包件_列表 1
    packageListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/package/listByEntity',
            params
        })
    },
    // 招标申请_包件_新增,修改,删除包件 1
    packageCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/package/create',
            params
        })
    },
    // 招标申请_清单_包件列表 2
    dtlGetPackageList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/dtl/getPackageList',
            params
        })
    },
    // 招标申请_清单 1
    dtlListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/dtl/listByEntity',
            params
        })
    },
    // wpf_物资供应招标_清单_所有
    wpfDtlList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/wpf/dtlList',
            params
        })
    },
    // wpf_物资供应招标_清单_查询单个
    wpfGetDtlById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/wpf/getDtlById',
            params
        })
    },
    // 招标申请_公文列表 1
    documenListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/documen/listByEntity',
            params
        })
    },
    // 招标申请_清单_新增。修改，删除 1
    dtlSave (params) {
        return httpPost({
            url: '/tender/materialProvisioning/dtl/save',
            params
        })
    },
    // 招标申请_公文新增 1
    documenSave (params) {
        return httpPost({
            url: '/tender/materialProvisioning/documen/save',
            params
        })
    },
    // 招标申请_公文根据主键删除 1
    documenDelete (params) {
        return httpPost({
            url: '/tender/materialProvisioning/documen/delete',
            params
        })
    },
    // 招标关闭_列表 1
    closeListById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/close/listById',
            params
        })
    },
    // 招标关闭_根据主键查询 1
    closeGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/close/getById',
            params
        })
    },
    // 招标关闭_新增 1
    closeCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/close/create',
            params
        })
    },
    // 招标关闭_修改 1
    closeUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/close/update',
            params
        })
    },
    // 招标关闭_根据主键删除 1
    closeDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/close/delete',
            params
        })
    },
    // 招标登记_根据实体属性分页查询 1
    resultListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/result/listByEntity',
            params
        })
    },
    // 招标登记_根据主键查询 1
    resultGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/result/getById',
            params
        })
    },
    // 招标登记_新增 1
    resultCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/result/create',
            params
        })
    },
    // 招标登记_修改 1
    resultUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/result/update',
            params
        })
    },
    // 招标登记_根据主键删除 1
    resultDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/result/delete',
            params
        })
    },
    // 招标登记_中标候选人_根据实体属性分页查询 1
    resultCandidateListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/resultCandidate/listByEntity',
            params
        })
    },
    // 招标登记_中标候选人_修改 1
    resultCandidateUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/resultCandidate/update',
            params
        })
    },
    // 招标登记_中标候选人——获取候选人下拉框列表 1
    resultCandidateGetCandidateList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/resultCandidate/getCandidateList',
            params,
            headers: {
                'Content-Type': 'application/x-www-form-urlencoded'
            }
        })
    },
    // 招标公示_列表 1
    publicityBaseListById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityBase/listById',
            params
        })
    },
    // 招标公示_根据主键查询 1
    publicityBaseGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityBase/getById',
            params
        })
    },
    // 招标公示_新增 1
    publicityBaseCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/publicityBase/create',
            params
        })
    },
    // 招标公示_修改 1
    publicityBaseUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/publicityBase/update',
            params
        })
    },
    // 招标公示_根据主键删除 1
    publicityBaseDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityBase/delete',
            params
        })
    },
    // 招标公示_公示内容_根据公示基本信息billId查询 1
    getPublicityContentById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityContent/getPublicityContentById',
            params
        })
    },
    // 招标公示_公示内容_新增-修改 1
    publicityContentCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/publicityContent/create',
            params
        })
    },
    // 招标公示_投诉受理_根据公示基本信息billId查询 1
    publicityComplaintListById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityComplaint/listById',
            params
        })
    },
    // 招标公示_投诉受理_新增-修改-删除 1
    publicityComplaintCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/publicityComplaint/create',
            params
        })
    },
    // 招标公示_中标候选人_列表 1
    publicityCandidateListById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/publicityCandidate/listById',
            params
        })
    },
    // 招标公示_中标候选人_修改 不需要
    publicityCandidateUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/publicityCandidate/update',
            params
        })
    },
    // 中标通知_列表 1
    noticeListById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/notice/listById',
            params
        })
    },
    // 中标通知_根据主键查询 1
    noticeGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/notice/getById',
            params
        })
    },
    // 中标通知_新增 1
    noticeCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/notice/create',
            params
        })
    },
    // 中标通知_修改 1
    noticeUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/notice/update',
            params
        })
    },
    // 中标通知_根据主键删除 1
    noticeDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/notice/delete',
            params
        })
    },
    // 中标通知_通知内容_根据主键查询 1
    noticeContentGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/noticeContent/getById',
            params
        })
    },
    // 中标通知_通知内容_新增-修改 1
    noticeContentCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/noticeContent/create',
            params
        })
    },
    // wpf_合同选择招标申请使用(分页查询)
    selectTenderApply (params) {
        return httpPost({
            url: '/tender/materialProvisioning/selectTenderApply',
            params
        })
    },
    // wpf_物资采购合同_合同选择招标申请_查询单个
    selectTenderApplyOne (params) {
        return httpGet({
            url: '/tender/materialProvisioning/selectTenderApplyOne',
            params
        })
    },
    // 招标报名_历史业绩_新增-修改-新增
    achievementHistoryCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/achievementHistory/create',
            params
        })
    },
    // 招标报名_历史业绩_列表
    achievementHistoryList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/eroll/achievementHistory/list',
            params
        })
    },
    // 招标报名_资质信息_新增-修改-删除
    certificateCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/certificate/create',
            params
        })
    },
    // 招标报名_资质信息列表
    certificateListByEntity (params) {
        return httpGet({
            url: '/tender/materialProvisioning/eroll/certificate/listByEntity',
            params
        })
    },
    // 招标报名_新增
    erollCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/create',
            params
        })
    },
    // 招标报名_根据id查询
    erollGetById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/eroll/getById',
            params
        })
    },
    // 招标报名分页
    erollListEnrollByEntity (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/listEnrollByEntity',
            params
        })
    },
    // 招标报名_报名合同段_列表
    packageList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/eroll/package/list',
            params
        })
    },
    // 招标报名_编辑
    erollUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/update',
            params
        })
    },
    // 中标通知_根据招标申请ID获取通知对象 1
    noticeGetCandidate (params) {
        return httpGet({
            url: '/tender/materialProvisioning/notice/getCandidate',
            params
        })
    },
    // 中标通知_根据招标申请ID获取包件信息 1
    noticeGetPackagey (params) {
        return httpGet({
            url: '/tender/materialProvisioning/notice/getPackage',
            params
        })
    },
    // wpf_物资采购合同_获取候选人信息
    wpfGetCandidate (params) {
        return httpGet({
            url: '/tender/materialProvisioning/wpf/getCandidate',
            params
        })
    },
    // wpf_物资采购合同_指定单个候选人信息
    wpfGetCandidateById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/wpf/getCandidateById',
            params
        })
    },
    // 招标补遗_招标补遗分页查询 1
    changeListByEntity (params) {
        return httpPost({
            url: '/tender/materialProvisioning/change/listByEntity',
            params
        })
    },
    // 招标补遗_根据ID查询招标补遗基础信息 1
    changeFindById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/change/findById',
            params
        })
    },
    // 招标补遗_新增招标补遗 1
    changeCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/change/create',
            params
        })
    },
    // 招标补遗_修改招标补遗基础信息
    changeUpdate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/change/update',
            params
        })
    },
    // 招标补遗_根据ID删除招标补遗信息 1
    changeDelete (params) {
        return httpGet({
            url: '/tender/materialProvisioning/change/delete',
            params
        })
    },
    // 招标补遗_根据单据ID 获取拟招标内容明细 1
    packageGetByBillId (params) {
        return httpGet({
            url: '/tender/materialProvisioning/change/package/getByBillId',
            params
        })
    },
    // 招标补遗_新增修改删除拟招标内容明细 1
    changePackageCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/change/package/create',
            params
        })
    },
    // 招标补遗_清单,新增,修改,删除 1
    changeDtlCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/change/dtl/create',
            params
        })
    },
    // 招标补遗_获取所有清单信息 1
    inventoryGetByPackageId (params) {
        return httpGet({
            url: '/tender/materialProvisioning/inventory/getByPackageId',
            params
        })
    },
    // 招标补遗_模糊查询清单
    getListByKey (params) {
        return httpGet({
            url: '/tender/materialProvisioning/getListByKey',
            params
        })
    },
    // 招标补遗_新增-修改招标补遗澄清信息 1
    clarificationCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/clarification/create',
            params
        })
    },
    // 招标补遗_根据ID查询招标补遗澄清信息 1
    clarificationFindById (params) {
        return httpGet({
            url: '/tender/materialProvisioning/change/clarification/findById',
            params
        })
    },
    // 招标报名_报名合同段_新增-修改-新增
    erollPackageCreate (params) {
        return httpPost({
            url: '/tender/materialProvisioning/eroll/package/create',
            params
        })
    },
    // 招标报名_报名合同段_列表
    erollPackageList (params) {
        return httpGet({
            url: '/tender/materialProvisioning/eroll/package/list',
            params
        })
    },
}

export default request
